--- src/mod_auth_kerb.c.orig  2011-11-14 22:54:54.457955883 +0100
+++ src/mod_auth_kerb.c 2011-11-14 22:55:42.060334084 +0100
@@ -89,6 +89,7 @@
 #include <krb5.h>
 #ifdef HEIMDAL
 #  include <gssapi.h>
+#  include <gssapi/gssapi_krb5.h>
 #else
 #  include <gssapi/gssapi.h>
 #  include <gssapi/gssapi_generic.h>
